package com.ibeetl.springboot.ch1.rest;

import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
public class UserReditRestController {
  @RequestMapping(value="/usercredit/{id}")
  public  Integer getCreditLevel(@PathVariable String id) {
    //模拟id用户的信用等级
    return 3;
  }

}
